using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class taikhoan_Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //WebPartManager1.DisplayMode = WebPartManager.EditDisplayMode;
        //WebPartManager1.DisplayMode = WebPartManager.DesignDisplayMode;
        WebPartManager1.DisplayMode = WebPartManager.CatalogDisplayMode;
        //WebPartManager1.DisplayMode = WebPartManager.BrowseDisplayMode;
        foreach (WebPartZone wz in WebPartManager1.Zones)
        {
            foreach (WebPart wp in wz.WebParts)
            {
                wp.ExportMode = WebPartExportMode.All;
            }
        }
    }
}
